package com.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/serverB")
public class ServiceBController {
    @GetMapping("/info")
    public String userInfo()  {
        System.out.println("我被调用啦");
        return "serverB被调用！";
    }
}
